import type { App } from 'vue';

// 导入全局注册的组件
import { ElButton, ElForm, ElFormItem, ElInput, ElRadio } from 'element-plus';
const elComponents = [ElButton, ElForm, ElFormItem, ElInput, ElRadio];

export function registerEl(app: App): void {
  for (let i = 0; i < elComponents.length; i++) {
    app.component(elComponents[i].name, elComponents[i]);
  }
}
